package com.jiyun.client;

import com.jiyun.entity.Building;
import com.jiyun.entity.Room;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("sushebase")
@RequestMapping("/sushebase/building")
public interface BuildingClient {

    /**
     * 根据id查询实体接口
     */
    @RequestMapping("/findById")
    public Building findById(@RequestParam("id") Integer id);



}
